package com.dao;

import com.pojo.Goods;
import com.pojo.Member;
import com.pojo.Provider;
import com.pojo.User;

import java.util.List;

public interface UpdateDao {
    User getUserById(int id);
    int updateUser(User user);

    Provider getProviderById(int id);
    int updateProvider(Provider provider);


    Goods getGoodsById(int id);
    List<Provider> getProviderToUpdateGoods();
    int updateGoods(Goods goods);


    int updateGoodsCount(Goods goods);
    int updateGoodsCount1(Goods goods);

    Member getMemberById(int id);
    int updateMember(Member member);
}
